nextcloud-desktop.git
13 months agoclear useless declarations or include
Matthieu Gallien [Thu, 6 Feb 2025 10:35:20 +0000 (11:35 +0100)]
clear useless declarations or include

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoremove duplicated code in ClientSideEncryption class
Matthieu Gallien [Thu, 6 Feb 2025 10:34:49 +0000 (11:34 +0100)]
remove duplicated code in ClientSideEncryption class

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoremove wrong conversions from or to base64
Matthieu Gallien [Wed, 5 Feb 2025 12:01:16 +0000 (13:01 +0100)]
remove wrong conversions from or to base64

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agofixes wrong conversion from or to base64 encoding
Matthieu Gallien [Tue, 4 Feb 2025 21:37:08 +0000 (22:37 +0100)]
fixes wrong conversion from or to base64 encoding

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agofixes for software end-to-end encryption issues
Matthieu Gallien [Mon, 3 Feb 2025 14:08:38 +0000 (15:08 +0100)]
fixes for software end-to-end encryption issues

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agofix setting up encryption with software based certificate storage
Matthieu Gallien [Mon, 3 Feb 2025 09:14:08 +0000 (10:14 +0100)]
fix setting up encryption with software based certificate storage

some data need to be converted to or from base64

some data should not be converted

clear one such place where a conversion to base64 was too much

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agodisable some parts of the auto tests for end-to-end encryption
Matthieu Gallien [Thu, 30 Jan 2025 10:17:51 +0000 (11:17 +0100)]
disable some parts of the auto tests for end-to-end encryption

those tests are now broken and we think they do not bring much value

for now parts of them will be disabled until we get better automated
tests

realized while doing this that the secure drop tests are not independent
of each other

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agopartial fix for broken automated tests
Matthieu Gallien [Wed, 29 Jan 2025 13:13:16 +0000 (14:13 +0100)]
partial fix for broken automated tests

will use different validation method for hardware stored certificates
and pure software certificates emited by the nextcloud server

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoadd support to use PKCS#11 harware token to store certifice for e2ee
Matthieu Gallien [Fri, 28 Jul 2023 10:00:11 +0000 (12:00 +0200)]
add support to use PKCS#11 harware token to store certifice for e2ee

Close #5685

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 7 Feb 2025 02:57:31 +0000 (02:57 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
13 months agoMerge pull request #7809 from nextcloud/bugfix/perms
Matthieu Gallien [Thu, 6 Feb 2025 17:40:45 +0000 (18:40 +0100)]
Merge pull request #7809 from nextcloud/bugfix/perms

Adds some extra info when throwing exception with setting folder permissions.

13 months agoImprove logging when error occurs while changing folder permissions.
Camila Ayres [Thu, 30 Jan 2025 17:59:56 +0000 (18:59 +0100)]
Improve logging when error occurs while changing folder permissions.

Signed-off-by: Camila Ayres <hello@camilasan.com>
13 months agoMerge pull request #7824 from nextcloud/feature/ncfpk-2.0
Matthieu Gallien [Thu, 6 Feb 2025 17:01:45 +0000 (18:01 +0100)]
Merge pull request #7824 from nextcloud/feature/ncfpk-2.0

shell_integration/macOS: Upgrade to NextcloudFileProviderKit 2.0

13 months agoshell_integration/macOS/FileProviderUIExt: Use valid NKError description property
Claudio Cambra [Wed, 5 Feb 2025 07:45:49 +0000 (15:45 +0800)]
shell_integration/macOS/FileProviderUIExt: Use valid NKError description property

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoshell_integration/macOS/FileProviderExt: Do not delete an item twice in FileProviderE...
Claudio Cambra [Tue, 7 Jan 2025 03:50:54 +0000 (12:50 +0900)]
shell_integration/macOS/FileProviderExt: Do not delete an item twice in FileProviderExtension

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoshell_integration/macOS/FileProviderUIExt: Adapt MetadataProvider utility methods...
Claudio Cambra [Wed, 4 Dec 2024 09:09:09 +0000 (17:09 +0800)]
shell_integration/macOS/FileProviderUIExt: Adapt MetadataProvider utility methods to NextcloudKit 5

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoshell_integration/macOS/FileProviderUIExt: Adapt FileProviderUIExt sharing to Nextclo...
Claudio Cambra [Wed, 4 Dec 2024 09:08:55 +0000 (17:08 +0800)]
shell_integration/macOS/FileProviderUIExt: Adapt FileProviderUIExt sharing to NextcloudKit 5

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoshell_integration/macOS/FileProviderUIExt: Adapt FileProviderUIExt Locking to Nextclo...
Claudio Cambra [Wed, 4 Dec 2024 09:07:47 +0000 (17:07 +0800)]
shell_integration/macOS/FileProviderUIExt: Adapt FileProviderUIExt Locking to NextcloudKit 5

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoshell_integration/macOS/FileProviderExt: Adapt to API changes in NextcloudFileProvide...
Claudio Cambra [Wed, 4 Dec 2024 08:34:57 +0000 (16:34 +0800)]
shell_integration/macOS/FileProviderExt: Adapt to API changes in NextcloudFileProviderKit changes in 2.0

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoshell_integration/macOS: Pin to NextcloudFileProviderKit stable-2.0
Claudio Cambra [Thu, 6 Feb 2025 04:54:36 +0000 (12:54 +0800)]
shell_integration/macOS: Pin to NextcloudFileProviderKit stable-2.0

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoMerge pull request #7819 from nextcloud/bugfix/lowerDiscoveryLogsImpact
Matthieu Gallien [Thu, 6 Feb 2025 09:30:21 +0000 (10:30 +0100)]
Merge pull request #7819 from nextcloud/bugfix/lowerDiscoveryLogsImpact

only use debug log level for discovery traces to decrease cost

13 months agoonly use debug log level for discovery traces to decrease cost
Matthieu Gallien [Tue, 4 Feb 2025 13:24:40 +0000 (14:24 +0100)]
only use debug log level for discovery traces to decrease cost

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoMerge pull request #7825 from nextcloud/bugfix/craft-ini-2501
Matthieu Gallien [Thu, 6 Feb 2025 08:29:18 +0000 (09:29 +0100)]
Merge pull request #7825 from nextcloud/bugfix/craft-ini-2501

craft: Upgrade to binary cache 25.01

13 months agocraft: Clean up ini file
Claudio Cambra [Thu, 6 Feb 2025 06:33:30 +0000 (14:33 +0800)]
craft: Clean up ini file

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agocraft: Upgrade to binary cache 25.01 and Qt version 6.8.1
Claudio Cambra [Thu, 6 Feb 2025 06:32:44 +0000 (14:32 +0800)]
craft: Upgrade to binary cache 25.01 and Qt version 6.8.1

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agocraft: Only set NSIS package type with windows
Claudio Cambra [Thu, 6 Feb 2025 06:32:17 +0000 (14:32 +0800)]
craft: Only set NSIS package type with windows

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 6 Feb 2025 02:58:51 +0000 (02:58 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
13 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 4 Feb 2025 02:58:20 +0000 (02:58 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
13 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 3 Feb 2025 03:20:34 +0000 (03:20 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
13 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 1 Feb 2025 02:58:17 +0000 (02:58 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
13 months agoMerge pull request #7812 from nextcloud/bugfix/fluent-style
Matthieu Gallien [Fri, 31 Jan 2025 15:00:43 +0000 (16:00 +0100)]
Merge pull request #7812 from nextcloud/bugfix/fluent-style

use correct qml style on Windows

13 months agouse correct qml style on Windows
Jyrki Gadinger [Fri, 31 Jan 2025 09:54:52 +0000 (10:54 +0100)]
use correct qml style on Windows

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
13 months agoMerge pull request #7422 from Integral-Tech/qstring-refactor
Matthieu Gallien [Fri, 31 Jan 2025 14:11:13 +0000 (15:11 +0100)]
Merge pull request #7422 from Integral-Tech/qstring-refactor

refactor: replace QString() with QStringLiteral() for better performance

13 months agorefactor: replace QString() with QStringLiteral() for better performance
Integral [Sat, 11 Jan 2025 02:51:30 +0000 (10:51 +0800)]
refactor: replace QString() with QStringLiteral() for better performance

Signed-off-by: Integral <integral@member.fsf.org>
13 months agoMerge pull request #7755 from nextcloud/bugfix/icons-darkmode
Matthieu Gallien [Fri, 31 Jan 2025 12:34:15 +0000 (13:34 +0100)]
Merge pull request #7755 from nextcloud/bugfix/icons-darkmode

fix colours in dark mode

13 months agofix colours in dark mode
Jyrki Gadinger [Wed, 15 Jan 2025 15:33:18 +0000 (16:33 +0100)]
fix colours in dark mode

- use placeholderText for TextField icons (introduced in Qt 5.12)
- use windowText for the large icons in activity view/search results
- also fix retrieval of icons from the server

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
13 months agoMerge pull request #7811 from nextcloud/Rello-patch-2
Matthieu Gallien [Fri, 31 Jan 2025 09:28:31 +0000 (10:28 +0100)]
Merge pull request #7811 from nextcloud/Rello-patch-2

Update doc link in issue template

13 months agoUpdate BUG_REPORT.yml
Rello [Fri, 31 Jan 2025 07:17:48 +0000 (08:17 +0100)]
Update BUG_REPORT.yml

Signed-off-by: Rello <Rello@users.noreply.github.com>
13 months agoMerge pull request #7810 from nextcloud/Rello-patch-1
Matthieu Gallien [Fri, 31 Jan 2025 09:27:12 +0000 (10:27 +0100)]
Merge pull request #7810 from nextcloud/Rello-patch-1

Link to new documentation

13 months agoLink to new documentation
Rello [Fri, 31 Jan 2025 07:15:41 +0000 (08:15 +0100)]
Link to new documentation

Signed-off-by: Rello <Rello@users.noreply.github.com>
13 months agoDelete .github/workflows/documentation.yml
Rello [Fri, 31 Jan 2025 08:18:26 +0000 (09:18 +0100)]
Delete .github/workflows/documentation.yml

Documentation was moved to
https://github.com/nextcloud/documentation

Signed-off-by: Rello <Rello@users.noreply.github.com>
13 months agoMerge pull request #7801 from nextcloud/plucky
István Váradi [Wed, 29 Jan 2025 10:29:17 +0000 (11:29 +0100)]
Merge pull request #7801 from nextcloud/plucky

Add Ubuntu Plucky

13 months agoAdd Ubuntu Plucky
István Váradi [Tue, 28 Jan 2025 16:08:02 +0000 (17:08 +0100)]
Add Ubuntu Plucky

Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
13 months agoMerge pull request #7799 from nextcloud/bugfix/fixAgainEndToEndEncryptionKeyGeneration
Matthieu Gallien [Wed, 29 Jan 2025 08:29:56 +0000 (09:29 +0100)]
Merge pull request #7799 from nextcloud/bugfix/fixAgainEndToEndEncryptionKeyGeneration

fix wrong if condition

13 months agofix wrong if condition
Matthieu Gallien [Mon, 27 Jan 2025 17:56:48 +0000 (18:56 +0100)]
fix wrong if condition

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoMerge pull request #7416 from nextcloud/feature/windowsQmlStyleFluent
Matthieu Gallien [Mon, 27 Jan 2025 10:01:59 +0000 (11:01 +0100)]
Merge pull request #7416 from nextcloud/feature/windowsQmlStyleFluent

use new in Qt6.8 windows fluent style

13 months agoon windows use Qt FluentWinUI3 style unless win10: Universal
Matthieu Gallien [Mon, 27 Jan 2025 09:06:13 +0000 (10:06 +0100)]
on windows use Qt FluentWinUI3 style unless win10: Universal

use Universal qmt style on windows release before windows 11 then use
FluentWinUI3 which should fit with default windows 11 native style

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoswitch to latest Qt 6.8.1 ci image
Matthieu Gallien [Thu, 23 Jan 2025 09:38:45 +0000 (10:38 +0100)]
switch to latest Qt 6.8.1 ci image

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoRemove transparency value from system colours where needed
Jyrki Gadinger [Fri, 3 Jan 2025 10:14:48 +0000 (11:14 +0100)]
Remove transparency value from system colours where needed

For some reason Windows11 has some transparency in the system colours
which makes reading drawers difficult

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
13 months agoswitch drone ci to Qt 6.8.0 based images
Matthieu Gallien [Fri, 20 Dec 2024 16:02:07 +0000 (17:02 +0100)]
switch drone ci to Qt 6.8.0 based images

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agorequire Qt 6.8.0
Matthieu Gallien [Tue, 3 Dec 2024 17:09:43 +0000 (18:09 +0100)]
require Qt 6.8.0

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agouse new in Qt6.8 windows fluent style
Matthieu Gallien [Fri, 25 Oct 2024 10:29:57 +0000 (12:29 +0200)]
use new in Qt6.8 windows fluent style

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 27 Jan 2025 02:54:41 +0000 (02:54 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
13 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 26 Jan 2025 03:04:44 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
13 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 25 Jan 2025 03:15:42 +0000 (03:15 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
13 months agoMerge pull request #7768 from nextcloud/bugfix/relogin-after-initial-setup-wizard
Matthieu Gallien [Fri, 24 Jan 2025 14:07:24 +0000 (15:07 +0100)]
Merge pull request #7768 from nextcloud/bugfix/relogin-after-initial-setup-wizard

persist credentials retrieved through the wizard

13 months agopersist credentials retrieved through the wizard
Jyrki Gadinger [Fri, 17 Jan 2025 13:28:11 +0000 (14:28 +0100)]
persist credentials retrieved through the wizard

When setting up an account through the wizard for the first time, the
credentials are not saved properly.  This requires the user to sign in
again after an application restart.

At least for the login flow v2 case, the `WebFlowCredentials` class
eventually persists the retrieved credentials, whereas the class used
within the wizard (`OCC::Flow2AuthCredsPage`) doesn't.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
13 months agoMerge pull request #7789 from nextcloud/bugfix/show-resolve-conflicts-dialog
Matthieu Gallien [Fri, 24 Jan 2025 14:06:40 +0000 (15:06 +0100)]
Merge pull request #7789 from nextcloud/bugfix/show-resolve-conflicts-dialog

fix "Resolve conflicts" dialog not showing up

13 months agofix "Resolve conflicts" dialog not showing up
Jyrki Gadinger [Fri, 24 Jan 2025 09:50:51 +0000 (10:50 +0100)]
fix "Resolve conflicts" dialog not showing up

commit 00b616ba9d92a492b0c4e5101b58fff6506591ef removed the call to
`QScopedPointer::take` as it's considered deprecated in Qt 6.1 and
advises to use `std::unique_ptr` with `release()` instead

--> replace `QScopedPointer` with `std::unique_ptr` and call its
`release()` method as part of the cast to `QQuickWindow*`

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
13 months agoMerge pull request #7786 from nextcloud/bugfix/correct-link-call-dialog
Matthieu Gallien [Fri, 24 Jan 2025 09:09:05 +0000 (10:09 +0100)]
Merge pull request #7786 from nextcloud/bugfix/correct-link-call-dialog

notifications: Do not assume root activity link is the correct "join call" link

13 months agoDo not assume root activity link is the correct "join call" link
Claudio Cambra [Fri, 24 Jan 2025 02:31:51 +0000 (10:31 +0800)]
Do not assume root activity link is the correct "join call" link

Use the link in the activity's 'links'

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoMerge pull request #7782 from nextcloud/feature/client-alma8
Matthieu Gallien [Fri, 24 Jan 2025 08:15:16 +0000 (09:15 +0100)]
Merge pull request #7782 from nextcloud/feature/client-alma8

modify AppImage build script to work with an EL8 base

13 months agouse latest appimage build docker image
Matthieu Gallien [Thu, 23 Jan 2025 19:42:35 +0000 (20:42 +0100)]
use latest appimage build docker image

see https://github.com/nextcloud/docker-ci/pkgs/container/continuous-integration-client-appimage-qt6/342431972?tag=client-appimage-el8-6.8.1-2

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoupdate AppImage build comment text
Jyrki Gadinger [Thu, 23 Jan 2025 15:02:47 +0000 (16:02 +0100)]
update AppImage build comment text

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
13 months agoupdate the drone signature
Matthieu Gallien [Thu, 23 Jan 2025 14:50:10 +0000 (15:50 +0100)]
update the drone signature

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoreplace drone PR appimage setup with GitHub Actions
Jyrki Gadinger [Thu, 23 Jan 2025 13:55:36 +0000 (14:55 +0100)]
replace drone PR appimage setup with GitHub Actions

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
13 months agostart using the EL8 image for building the appimage
Jyrki Gadinger [Thu, 23 Jan 2025 11:31:08 +0000 (12:31 +0100)]
start using the EL8 image for building the appimage

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
13 months agogitignore: add .cache and *.AppImage
Jyrki Gadinger [Wed, 22 Jan 2025 14:30:23 +0000 (15:30 +0100)]
gitignore: add .cache and *.AppImage

.cache is used by clangd on my setup; built AppImages also shouldn't be
part of the repo

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
13 months agomodify appimage build script to work with an EL8 base
Jyrki Gadinger [Wed, 22 Jan 2025 12:55:49 +0000 (13:55 +0100)]
modify appimage build script to work with an EL8 base

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
13 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 24 Jan 2025 02:57:08 +0000 (02:57 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
13 months agoMerge pull request #7718 from Diff-fusion/improve-log-speed
Matthieu Gallien [Thu, 23 Jan 2025 19:45:41 +0000 (20:45 +0100)]
Merge pull request #7718 from Diff-fusion/improve-log-speed

Log path strings directly instead of accumulating

13 months agoCheck if discovery paths are empty before logging
Felix [Wed, 8 Jan 2025 12:45:41 +0000 (13:45 +0100)]
Check if discovery paths are empty before logging

Signed-off-by: Felix <felix-git@0xf.eu>
13 months agoLog path strings directly instead of accumulating
Felix [Sat, 4 Jan 2025 15:06:03 +0000 (16:06 +0100)]
Log path strings directly instead of accumulating

Signed-off-by: Felix <felix-git@0xf.eu>
13 months agoMerge pull request #7780 from nextcloud/feature/cleanDeprecatedHashAlgorithm
Matthieu Gallien [Thu, 23 Jan 2025 11:13:13 +0000 (12:13 +0100)]
Merge pull request #7780 from nextcloud/feature/cleanDeprecatedHashAlgorithm

switch client side encryption to use sha256 hash algorithm

13 months agoswitch client side encryption to use sha256 hash algorithm
Matthieu Gallien [Wed, 22 Jan 2025 09:51:13 +0000 (10:51 +0100)]
switch client side encryption to use sha256 hash algorithm

Close #5989

only support sha1 for depreceted read-only usage

use sha256 for new encrypted write operations

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 23 Jan 2025 02:59:03 +0000 (02:59 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
13 months agoMerge pull request #7772 from nextcloud/feature/capabilities-chunk-size-server
Matthieu Gallien [Thu, 23 Jan 2025 02:42:03 +0000 (03:42 +0100)]
Merge pull request #7772 from nextcloud/feature/capabilities-chunk-size-server

sync: Respect maximum chunk size provided in server capabilities

13 months agoApply max concurrent chunk uploads retrieved from server capabilities
Claudio Cambra [Mon, 20 Jan 2025 09:56:52 +0000 (17:56 +0800)]
Apply max concurrent chunk uploads retrieved from server capabilities

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoExpose maxConcurrentChunkUploads from Capabilities
Claudio Cambra [Mon, 20 Jan 2025 09:56:28 +0000 (17:56 +0800)]
Expose maxConcurrentChunkUploads from Capabilities

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoRemove overrideServerChunkSize config entry
Claudio Cambra [Mon, 20 Jan 2025 09:51:55 +0000 (17:51 +0800)]
Remove overrideServerChunkSize config entry

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoActually call overrideServerChunkSize
Claudio Cambra [Mon, 20 Jan 2025 09:49:12 +0000 (17:49 +0800)]
Actually call overrideServerChunkSize

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoDo not apply max capabilities chunk size as min chunk size too
Claudio Cambra [Mon, 20 Jan 2025 09:48:56 +0000 (17:48 +0800)]
Do not apply max capabilities chunk size as min chunk size too

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoFix capsMaxChunkSize comparison
Claudio Cambra [Mon, 20 Jan 2025 09:26:48 +0000 (17:26 +0800)]
Fix capsMaxChunkSize comparison

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoRemove extraneous parenthesis
Claudio Cambra [Mon, 20 Jan 2025 09:26:23 +0000 (17:26 +0800)]
Remove extraneous parenthesis

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoFix naming for overrideSercerChunkSize constexpr
Claudio Cambra [Mon, 20 Jan 2025 09:24:56 +0000 (17:24 +0800)]
Fix naming for overrideSercerChunkSize constexpr

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoAdd config entry to override server chunk size
Claudio Cambra [Mon, 20 Jan 2025 03:59:27 +0000 (11:59 +0800)]
Add config entry to override server chunk size

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoEnforce chunk size provided by server capabilities
Claudio Cambra [Mon, 20 Jan 2025 03:55:33 +0000 (11:55 +0800)]
Enforce chunk size provided by server capabilities

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoOverride config chunk sizing values with max chunk size retrieved from capabilities
Claudio Cambra [Mon, 20 Jan 2025 02:34:17 +0000 (10:34 +0800)]
Override config chunk sizing values with max chunk size retrieved from capabilities

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoAdd maxChunkSize getter function to get chunked upload max size from capabilities
Claudio Cambra [Mon, 20 Jan 2025 02:33:06 +0000 (10:33 +0800)]
Add maxChunkSize getter function to get chunked upload max size from capabilities

This will be added with NC31

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
13 months agoMerge pull request #7754 from nextcloud/Rello-patch-1
Jyrki Gadinger [Wed, 22 Jan 2025 15:04:57 +0000 (16:04 +0100)]
Merge pull request #7754 from nextcloud/Rello-patch-1

Make Brander QT selection dynamic

13 months agoUpdate craftmaster.ini
Rello [Wed, 22 Jan 2025 12:15:12 +0000 (13:15 +0100)]
Update craftmaster.ini

Co-authored-by: Jyrki Gadinger <nilsding@nilsding.org>
Signed-off-by: Rello <Rello@users.noreply.github.com>
13 months agoUpdate VERSION.cmake
Rello [Wed, 15 Jan 2025 12:30:02 +0000 (13:30 +0100)]
Update VERSION.cmake

Signed-off-by: Rello <Rello@users.noreply.github.com>
13 months agoUpdate craftmaster.ini
Rello [Wed, 15 Jan 2025 11:35:57 +0000 (12:35 +0100)]
Update craftmaster.ini

Signed-off-by: Rello <Rello@users.noreply.github.com>
13 months agoMerge pull request #7781 from nextcloud/bugfix/readOnlyClassicalSyncLnkShortcutsWindows
Matthieu Gallien [Wed, 22 Jan 2025 13:02:16 +0000 (14:02 +0100)]
Merge pull request #7781 from nextcloud/bugfix/readOnlyClassicalSyncLnkShortcutsWindows

fix the if check for invalid virtual LNK files

13 months agofix the if check for invalid virtual LNK files
Matthieu Gallien [Wed, 22 Jan 2025 11:31:04 +0000 (12:31 +0100)]
fix the if check for invalid virtual LNK files

should ensure we fix the DB metadata of LNK windows shortcuts with
virtual files type

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoMerge pull request #7779 from nextcloud/bugfix/readOnlyClassicalSyncLnkShortcutsWindows
Matthieu Gallien [Wed, 22 Jan 2025 10:46:44 +0000 (11:46 +0100)]
Merge pull request #7779 from nextcloud/bugfix/readOnlyClassicalSyncLnkShortcutsWindows

Bugfix/read only classical sync lnk shortcuts windows

13 months agoupdate metadata when a file item has wrong type in DB
Matthieu Gallien [Tue, 21 Jan 2025 14:35:57 +0000 (15:35 +0100)]
update metadata when a file item has wrong type in DB

should help fixing the type of windows shortcuts in DB that were wrongly
set as virtual files

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoadd an assert to ensure we do not use virtual file types with no VFS
Matthieu Gallien [Mon, 20 Jan 2025 16:10:09 +0000 (17:10 +0100)]
add an assert to ensure we do not use virtual file types with no VFS

if VFS mode is off, we should nto be using any virtual file types

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agohandle LNK virtual files only when VFS mode is not off
Matthieu Gallien [Mon, 20 Jan 2025 16:05:56 +0000 (17:05 +0100)]
handle LNK virtual files only when VFS mode is not off

should ensure lnk widnows shortcut files are not mistakenly handled as
virtual files

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
13 months agoMerge pull request #7769 from nextcloud/perf/color-conversion
Matthieu Gallien [Wed, 22 Jan 2025 10:17:27 +0000 (11:17 +0100)]
Merge pull request #7769 from nextcloud/perf/color-conversion

Avoid converting string to color